using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;

namespace Ndo
{
    public static class TestUtilities
    {
        public static void AssertListEqual(IList expected, IList actual)
        {
            int count = expected.Count;
            Assert.AreEqual(count, actual.Count, "list length are not equal");
            for (int i = 0; i < count; i++ )
            {
                Assert.AreEqual(expected[i], actual[i], "list are not equal at {0}.", i);
            }
        }
    }
}
